package com.easyaop.asm.bytecode.asm;

import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;

import java.util.LinkedList;
import java.util.List;

public class MethodVisitorDelTry extends MethodVisitor {
    List<TryVo> trys =new LinkedList<>();

    protected MethodVisitorDelTry(int api, MethodVisitor methodVisitor) {
        super(api, methodVisitor);
    }
    @Override
    public void visitTryCatchBlock(Label start, Label end, Label handler, String type) {
//        System.out.println("visitTryCatchBlock11");
        trys.add(new TryVo(start,end,handler,type));
    }

}
